#pragma once

#include "Enemy.h"
#include "AnimationSystem.h"
class IEntity;
class Player;
class Room;

class SecurityCore : public Enemy 
{
public:
	SecurityCore();
	~SecurityCore();

	void Update(float elapsed);
	void Render();

	void Attack();
	RECT GetRect();
	void AddEnemies(int diff);

	// Pure virtual method from IListener
	virtual void HandleEvent(Event* thisEvent);

	// Set the room vec
	void SetMyRoom(std::vector<Room*> r) {room = r;}

	void SetAnimation(int id[2]);

private:
	Animation core[2];
	int wave;
	std::vector<Room*> room;
	int hit;
	bool hide;
	float hideTimer;
	float previousHealth;
	float waitTime;
	int DeathSound;
	int SpawnSound;
	int HideSound;
};
